package com.irs.pojo;


import java.util.Date;
//楼宇信息
public class BuildingInfo {

  private Long id;
  private String buildName;
  private String buildNo;
  private String creator;
  private Date updateDate;
  private String remark;

  public BuildingInfo() {
  }


  public Long getId() {
    return this.id;
  }

  public String getBuildName() {
    return this.buildName;
  }

  public String getBuildNo() {
    return this.buildNo;
  }

  public String getCreator() {
    return this.creator;
  }

  public Date getUpdateDate() {
    return this.updateDate;
  }

  public String getRemark() {
    return this.remark;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public void setBuildName(String buildName) {
    this.buildName = buildName;
  }

  public void setBuildNo(String buildNo) {
    this.buildNo = buildNo;
  }

  public void setCreator(String creator) {
    this.creator = creator;
  }

  public void setUpdateDate(Date updateDate) {
    this.updateDate = updateDate;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

  public boolean equals(final Object o) {
    if (o == this) return true;
    if (!(o instanceof BuildingInfo)) return false;
    final BuildingInfo other = (BuildingInfo) o;
    if (!other.canEqual((Object) this)) return false;
    if (this.id != other.id) return false;
    final Object this$buildName = this.buildName;
    final Object other$buildName = other.buildName;
    if (this$buildName == null ? other$buildName != null : !this$buildName.equals(other$buildName)) return false;
    final Object this$buildNo = this.buildNo;
    final Object other$buildNo = other.buildNo;
    if (this$buildNo == null ? other$buildNo != null : !this$buildNo.equals(other$buildNo)) return false;
    final Object this$creator = this.creator;
    final Object other$creator = other.creator;
    if (this$creator == null ? other$creator != null : !this$creator.equals(other$creator)) return false;
    final Object this$updateDate = this.updateDate;
    final Object other$updateDate = other.updateDate;
    if (this$updateDate == null ? other$updateDate != null : !this$updateDate.equals(other$updateDate))
      return false;
    final Object this$remark = this.remark;
    final Object other$remark = other.remark;
    if (this$remark == null ? other$remark != null : !this$remark.equals(other$remark)) return false;
    return true;
  }

  protected boolean canEqual(final Object other) {
    return other instanceof BuildingInfo;
  }

  public int hashCode() {
    final int PRIME = 59;
    int result = 1;
    final long $id = this.id;
    result = result * PRIME + (int) ($id >>> 32 ^ $id);
    final Object $buildName = this.buildName;
    result = result * PRIME + ($buildName == null ? 43 : $buildName.hashCode());
    final Object $buildNo = this.buildNo;
    result = result * PRIME + ($buildNo == null ? 43 : $buildNo.hashCode());
    final Object $creator = this.creator;
    result = result * PRIME + ($creator == null ? 43 : $creator.hashCode());
    final Object $updateDate = this.updateDate;
    result = result * PRIME + ($updateDate == null ? 43 : $updateDate.hashCode());
    final Object $remark = this.remark;
    result = result * PRIME + ($remark == null ? 43 : $remark.hashCode());
    return result;
  }

  public String toString() {
    return "BuildingInfo(id=" + this.id + ", buildName=" + this.buildName + ", buildNo=" + this.buildNo + ", creator=" + this.creator + ", updateDate=" + this.updateDate + ", remark=" + this.remark + ")";
  }
}
